home *** CD-ROM | disk | FTP | other *** search
Text File | 1994-04-19 | 3.2 KB | 146 lines | [TEXT/MPS ] |
-
- /*
- * This file was generated by the SOM Compiler.
- * FileName: SkelPart.xh.
- * Generated using:
- * SOM Precompiler somipc: somc/smemit.c
- * SOM Emitter emitxh.dll: somc/smmain.c
- */
-
- #ifndef SOM_Module_Apple_defined
- #define SOM_Module_Apple_defined 1
- #include <som.xh>
-
- /*
- * Start of user-defined types:
- */
-
- /*
- * End of user-defined types.
- */
- #endif /* SOM_Module_Apple_defined */
-
- #ifndef SOM_Apple_SkeletonPart_xh
- #define SOM_Apple_SkeletonPart_xh
-
- class Apple_SkeletonPart;
-
- #define Apple_SkeletonPart_MajorVersion 1
- #define Apple_SkeletonPart_MinorVersion 0
-
- /* C++ som defs */
- #include <somcls.xh>
-
- /* Include C++ parent defs */
- #ifndef SOM_ODPart_xh
- #include <Part.xh>
- #endif
-
- #ifndef Apple_SkeletonPart_API
- #define Apple_SkeletonPart_API
- /*
- * -- The Class API
- */
-
- /*
- * Start of user-defined types:
- */
- class ODExtension;
- class ODCanvas;
- class ODLinkSource;
- class ODEmbeddedFramesIterator;
- class ODSession;
- class ODTypeSet;
- class ODStorageUnit;
- class ODLink;
- class ODStorageUnitView;
- class ODFacet;
- class ODDragItemIterator;
- class ODFrame;
- class ODShape;
- class ODTransform;
-
- /*
- * End of user-defined types.
- */
-
- #if applec ^ PRAGMA_LIB_EXPORT
- #pragma lib_export on
- #endif
-
-
- /* A procedure to create the Apple_SkeletonPart Class */
- SOMEXTERN SOMClass * SOMLINK Apple_SkeletonPartNewClass(
- integer4 majorVersion,
- integer4 minorVersion);
-
- /* The API to the Apple_SkeletonPart class object, and the methods it introduces. */
- typedef struct Apple_SkeletonPartClassDataStructure {
- SOMClass *classObject;
- } Apple_SkeletonPartClassDataStructure;
- #ifdef SOM_NO_DATA_EXPORTS
- SOMEXTERN Apple_SkeletonPartClassDataStructure * Apple_SkeletonPartGetClassData ( void );
- # undef Apple_SkeletonPartClassData
- # define Apple_SkeletonPartClassData (*Apple_SkeletonPartGetClassData())
- #else
- SOMEXTERN Apple_SkeletonPartClassDataStructure Apple_SkeletonPartClassData;
- #endif /* SOM_NO_DATA_EXPORTS */
-
- #if applec ^ PRAGMA_LIB_EXPORT
- #pragma lib_export off
- #endif
-
- #define _Apple_SkeletonPart Apple_SkeletonPartClassData.classObject
-
- /* The API to parentMtabs for Apple_SkeletonPart, and the instance data it introduces. */
- SOMEXTERN struct Apple_SkeletonPartCClassDataStructure {
- somMethodTabs parentMtab;
- somDToken instanceDataToken;
- } Apple_SkeletonPartCClassData;
-
- /*
- * -- Typedefs for Procedures that support Methods introduced by Apple_SkeletonPart
- */
- SOMEXTERN {
- }
-
- #endif /* Apple_SkeletonPart_API */
-
-
- /*
- * -- Method Tokens are Thunks
- */
- #undef somresolve_
- #define somresolve_(obj,mToken) ((somMethodProc*)((void)obj, mToken))
-
- /*
- * -- The C++ Wrapper Class for Apple_SkeletonPart
- */
- class Apple_SkeletonPart : public ODPart
- {
- public:
-
- void *operator new(size_t size)
- {
- SOM_IgnoreWarning(size);
- if (!Apple_SkeletonPartClassData.classObject)
- Apple_SkeletonPartNewClass(Apple_SkeletonPart_MajorVersion,Apple_SkeletonPart_MinorVersion);
- return (void *)
- ((somTD_SOMClass_somNew)
- somresolve_((SOMObject *)((void*)(Apple_SkeletonPartClassData.classObject)),
- SOMClassClassData.somNew))
- ((SOMClass *)((void*)(Apple_SkeletonPartClassData.classObject)));
- }
-
- void operator delete(void * obj)
- {
- ((SOMObject *)obj)->somFree();
- }
-
-
- }; /* Apple_SkeletonPart */
-
-
-
- #endif /* SOM_Apple_SkeletonPart_xh */
-